package com.epam.cdp.jpa.dao;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import com.epam.cdp.jpa.model.BaseEntity;

public abstract class AbstractStatelessDAO<T extends BaseEntity> extends AbstractGenericDAO<T> {

    @PersistenceContext(unitName = "cdp_jpa_unit")
    private EntityManager em;

    @Override
    public EntityManager getEntityManager() {
	return em;
    }

}
